package cn.edu.neusoft.demo.hospital2.Service;

import cn.edu.neusoft.demo.hospital2.pojo.FullDoctorWork;
import cn.edu.neusoft.demo.hospital2.pojo.WorkPlan;

import java.util.Date;
import java.util.List;

public interface WorkPlanService {
    // 生成工作计划
    boolean generatePlan(WorkPlan wp);
    // 修改工作计划状态
    int updateByDay(WorkPlan wp);
    // 查询计划状态
    WorkPlan getPlansStatus(Date d);
    // 查询所有工作计划信息
    List<FullDoctorWork> getAllBaseInfo(String day);
    // 查询所有工作计划
    List<WorkPlan> getAllWorkPlans();

    // 根据日期查询工作计划
    WorkPlan getWorkPlanByDay(java.sql.Date day);

    // 新增工作计划
    boolean addWorkPlan(WorkPlan workPlan);

    // 修改工作计划
    boolean updateWorkPlan(WorkPlan workPlan);

    // 删除工作计划
    boolean deleteWorkPlan(java.sql.Date day);
}
